<title><?php echo CHtml::encode($this->pageTitle); ?></title>

<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>

<!-- Bootstrap -->
<link href="<?php echo Yii::app()->theme->baseUrl ?>/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<link href="<?php echo Yii::app()->theme->baseUrl ?>/lib/bootstrap/css/bootstrap-theme.css" rel="stylesheet"/>
<link href="<?php echo Yii::app()->theme->baseUrl ?>/css/styles.css" rel="stylesheet"/>

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--
[if lt IE 9]>
	<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
	<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]
-->

<?php Yii::app()->clientScript->packages['jquery']['baseUrl'] = Yii::app()->theme->baseUrl.'/lib'; ?>
<?php Yii::app()->clientScript->packages['jquery']['js'] = array('jquery.min.js'); ?>
<?php Yii::app()->clientScript->registerCoreScript('jquery'); ?>

<?php Yii::app()->clientScript->registerScriptFile(
	Yii::app()->theme->baseUrl . '/lib/bootstrap/js/bootstrap.min.js',
	CClientScript::POS_END
);?>

<?php Yii::app()->clientScript->registerScriptFile(
	Yii::app()->theme->baseUrl . '/js/script.js',
	CClientScript::POS_END
);?>
